package org.tong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author
 * @date 2022-11-15 20:17
 */
@RestController
@SpringBootApplication
public class KafkaApplication {

    @RequestMapping("/")
    public String index() {
        return "welcome to kafka demo";
    }


    public static void main(String[] args) {
        SpringApplication.run(KafkaApplication.class, args);
    }
}
